#include <windows.h>

#define WIDTH 1000
#define HEIGHT 800

#define MAXLEN 256

class CGameApp
{
public:
	CGameApp();
	virtual ~CGameApp();
	bool CreateWnd(LPCTSTR szWinTitle,HINSTANCE hInstance,HINSTANCE hPrevInstance,int nCmdShow);
	static LRESULT CALLBACK WndProc(HWND hWnd,UINT message,WPARAM wParam,LPARAM lParam);
	
	inline WNDCLASSEX GetWndClass(){return m_WndClassEx;}
	inline HWND GetHWnd(){return m_hWnd;}

private:
	ATOM RegWndClass(HINSTANCE hInstance);
	
	WNDCLASSEX m_WndClassEx;
	HWND m_hWnd;
};
